package com.panshi.qa.provider.modules.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.panshi.qa.api.vo.QaQuestionFrontdesk;
import com.panshi.qa.provider.modules.domain.UserCollect;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserCollectMapper extends BaseMapper<UserCollect> {
    //增加问题到指定收藏表
    int insertCollect(QaQuestionFrontdesk qaQuestionFrontdesk);
    //修改问题表的收藏数量
    void updateQuestion(QaQuestionFrontdesk qaQuestionFrontdesk);
    //修改搜索表的收藏数量
    void updateThSearch(QaQuestionFrontdesk qaQuestionFrontdesk);
}
